Skip to content

add a resolve toggle for bundled lockfiles#23445

Merged
cburroughs merged 1 commit into
mainfrom
csb/locks-toggle-0
Jul 2, 2026
Merged

add a resolve toggle for bundled lockfiles#23445
cburroughs merged 1 commit into
mainfrom
csb/locks-toggle-0

Conversation

@cburroughs

Copy link
Copy Markdown
Contributor

This adds a resolve toggle to generate_builtin_lockfiles.py so we can split apart "switching to uv" from the next generation.

Originally part of #23440

This adds a `resolve` toggle to generate_builtin_lockfiles.py so we can
split apart "switching to uv" from the next generation.

Originally part of #23440
@cburroughs cburroughs self-assigned this Jun 25, 2026
@cburroughs cburroughs added the release-notes:not-required [CI] PR doesn't require mention in release notes label Jun 25, 2026
@cburroughs cburroughs marked this pull request as ready for review July 1, 2026 18:23
@cburroughs cburroughs requested review from benjyw and sureshjoshi July 1, 2026 18:23
parser.add_argument(
"--resolver",
type=Resolver,
choices=list(Resolver),

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it necessary to specify the choices when the type is an enum? I thought we handled that automatically?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think it is handled automatically for the vanilla argparse used in this script.

@cburroughs cburroughs merged commit c9658ba into main Jul 2, 2026
48 of 50 checks passed
@cburroughs cburroughs deleted the csb/locks-toggle-0 branch July 2, 2026 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-notes:not-required [CI] PR doesn't require mention in release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants